function UploadData(forma){
	var els = forma.elements;
	
	var dod = trim(els["date_od"].value);
	var ddo = trim(els["date_do"].value);
	
	LoadRSDoc("upload.php?od="+dod+"&do="+ddo,"setContent");
}
function makeUploadScript(tableID){
	var table = document.getElementById(tableID);
	var tr = table.getElementsByTagName("tr");
	
	var data = Array();
	for(var i=1; i<tr.length; i++){
		var td = tr[i].getElementsByTagName("td");
		data.push(trim(td[td.length-1].innerHTML));
	}
	data = implode("\n",data);
	
	
}